package com.itheima.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ReportMapper {
    Long findMemberCountsByDate(@Param("startDate") String startDate, @Param("endDate") String endDate);

    Integer findMemberCountToday(@Param("today") String today);

    Integer findMemberCount();

    Integer findMemberCountWeek(@Param("curFirstDayThisWeek") String curFirstDayThisWeek);

    Integer findMemberCountMonth(@Param("curFirstDayThisMonth") String curFirstDayThisMonth);

    Integer findOrderNumberToday(@Param("today") String today);

    Integer findOrderOrderStatus(@Param("today") String today);

    Integer findOrderNumberThisWeek(@Param("curFirstDayThisWeek") String curFirstDayThisWeek);

    Integer findOrderNumberThisMonth(@Param("curFirstDayThisMonth") String curFirstDayThisMonth);

    Integer findVisitsNumber(@Param("curFirstDayThisWeek") String curFirstDayThisWeek);

    Integer findMonthVisitsNumber(@Param("curFirstDayThisMonth") String curFirstDayThisMonth);

    List<Map> findHotSetmeal();

}
